﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001A3 RID: 419
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CFAMAFMKAPG : IMessage<CFAMAFMKAPG>, IMessage, IEquatable<CFAMAFMKAPG>, IDeepCloneable<CFAMAFMKAPG>, IBufferMessage
	{
		// Token: 0x1700057E RID: 1406
		// (get) Token: 0x060012D7 RID: 4823 RVA: 0x00035E52 File Offset: 0x00034052
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CFAMAFMKAPG> Parser
		{
			get
			{
				return CFAMAFMKAPG._parser;
			}
		}

		// Token: 0x1700057F RID: 1407
		// (get) Token: 0x060012D8 RID: 4824 RVA: 0x00035E59 File Offset: 0x00034059
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CFAMAFMKAPGReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000580 RID: 1408
		// (get) Token: 0x060012D9 RID: 4825 RVA: 0x00035E6B File Offset: 0x0003406B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CFAMAFMKAPG.Descriptor;
			}
		}

		// Token: 0x060012DA RID: 4826 RVA: 0x00035E72 File Offset: 0x00034072
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CFAMAFMKAPG()
		{
		}

		// Token: 0x060012DB RID: 4827 RVA: 0x00035E7A File Offset: 0x0003407A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CFAMAFMKAPG(CFAMAFMKAPG other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060012DC RID: 4828 RVA: 0x00035E93 File Offset: 0x00034093
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CFAMAFMKAPG Clone()
		{
			return new CFAMAFMKAPG(this);
		}

		// Token: 0x060012DD RID: 4829 RVA: 0x00035E9B File Offset: 0x0003409B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CFAMAFMKAPG);
		}

		// Token: 0x060012DE RID: 4830 RVA: 0x00035EA9 File Offset: 0x000340A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CFAMAFMKAPG other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x060012DF RID: 4831 RVA: 0x00035EC8 File Offset: 0x000340C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060012E0 RID: 4832 RVA: 0x00035EEE File Offset: 0x000340EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060012E1 RID: 4833 RVA: 0x00035EF6 File Offset: 0x000340F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060012E2 RID: 4834 RVA: 0x00035EFF File Offset: 0x000340FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060012E3 RID: 4835 RVA: 0x00035F18 File Offset: 0x00034118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060012E4 RID: 4836 RVA: 0x00035F3E File Offset: 0x0003413E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CFAMAFMKAPG other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060012E5 RID: 4837 RVA: 0x00035F5B File Offset: 0x0003415B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060012E6 RID: 4838 RVA: 0x00035F64 File Offset: 0x00034164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040007C6 RID: 1990
		private static readonly MessageParser<CFAMAFMKAPG> _parser = new MessageParser<CFAMAFMKAPG>(() => new CFAMAFMKAPG());

		// Token: 0x040007C7 RID: 1991
		private UnknownFieldSet _unknownFields;
	}
}
